package cn.tedu.charging.order.dao.repository;

import cn.tedu.charging.order.pojo.po.ChargingBillExceptionPO;
import cn.tedu.charging.order.pojo.po.ChargingBillFailPO;
import cn.tedu.charging.order.pojo.po.ChargingBillSuccessPO;

public interface BillRepository {
    void saveFailBill(ChargingBillFailPO fail);

    void saveSuccessBill(ChargingBillSuccessPO success);

    Boolean existsBill(String orderNo);

    ChargingBillSuccessPO getSuccessByBillId(String billId);

    void saveExceptionBill(ChargingBillExceptionPO exceptionPO);

    void updateSuccessStatus(String billId, int i);
}
